﻿using Habanero.Base;
using Habanero.Faces.Base;

namespace FireStarterModeller.UI.ViewEditor
{
    /// <summary>
    /// Provides a form where the user can choose a UI element to add, along with
    /// specific parameters associated with that element.
    /// </summary>
    public interface IUIViewAddElementForm : IFormHabanero
    {
        IComboBox ElementsComboBox { get; }
        IPanel FieldsPanel { get; }
        IButtonGroupControl Buttons { get; }
        IButton AddButton { get; }
        IButton CancellingButton { get; }
        IBusinessObject BusinessObject { get; set; }
        IPanelInfo PanelInfo { get; }

        /// <summary>
        /// Gets or sets the XML created for insertion, depending on the options chosen on the form
        /// </summary>
        string XMLToInsert { get; set; }
    }
}